package com.liumo.domain;

import com.liumo.utils.BinaryOperationUtil;

import java.io.File;
import java.util.List;
import java.util.Scanner;

public class Student extends User {

    public Student(String username, String password) {
        super(username, password);
    }

    @Override
    public void login() {
        // 实现学生登录逻辑
        System.out.println("-----------------欢迎"+ getUsername() +"再次登录该算式系统------------------");
    }

    @Override
    public void start(Scanner scan) {
        login();
        BinaryOperationUtil.studentStart(scan, this);
    }
}